#pragma once
#include <QByteArray>
#include <QAbstractSocket>
#include "../ZPackageHead.h"

class ZSocketRecvReactor
{
public:
	ZSocketRecvReactor(void);
	virtual ~ZSocketRecvReactor(void) = 0;

public:
	virtual void OnRecv(const QHostAddress& sAddr, int iPort, QAbstractSocket* pSocket, 
		const ZPackageHead& packageHead, QByteArray& bodyData) = 0;
};

